.border-radius(@radius) {
    border-radius: @radius;
}

.wrap() {
    text-wrap: wrap;
    white-space: -moz-pre-wrap;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.textline(){
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.size(@h,@w:100%) {
    height: @h;
    width: @w;
}

.circle(@size) {
    .size(@size,@size);
    .border-radius(50%);
}



.button-solid(@color, @background, @border) {
    padding: .5rem 1rem;
    font-weight: 400;
    font-size: 1rem;
    white-space: nowrap;
    vertical-align: middle;
    display: inline-block;
    user-select: none;
    border: 1px solid transparent;
    color: @color;
    background-color: @background;
    border-color: @border;
    .border-radius(0.25rem);
    &:hover, &:active{
        color: @color;
        background-color: lighten(@background, 10%);
        border-color: lighten(@border, 12%);
    }

    &.disabled,
    &:disabled {
        background-color: @background;
        border-color: @border;
    }
}
